import Vue from 'vue'
import App from './App.vue'
import * as echarts from 'echarts';//引入echarts
Vue.prototype.$echarts = echarts //引入组件
import axios from'axios'
Vue .prototype.$http = axios
Vue.config.productionTip = false

// 加载 element 组件库
import ElementUI from 'element-ui'
 
// 加载 element 组件库的样式
import 'element-ui/lib/theme-chalk/index.css'

// 全局注册 element 组件库
Vue.use(ElementUI)
 
Vue.config.productionTip = false

new Vue({
  render: h => h(App),
}).$mount('#app')
